projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
423effc
)
ubifs: Reintroduce using CONFIG_UBIFS_SILENCE_MSG
author
Petr Vorel
<
[email protected]
>
Sat, 24 Mar 2018 00:49:22 +0000
(
01:49
+0100)
committer
Heiko Schocher
<
[email protected]
>
Sat, 24 Mar 2018 05:36:54 +0000
(06:36 +0100)
Use of CONFIG_UBIFS_SILENCE_MSG was added in
147162dac6
("ubi: ubifs: Turn off verbose prints")
Then it was removed in
ff94bc40af
("mtd, ubi, ubifs: resync with Linux-3.14")
Cc: Joe Hershberger <
[email protected]
>
Cc: Heiko Schocher <
[email protected]
>
Signed-off-by: Petr Vorel <
[email protected]
>
fs/ubifs/ubifs.h
patch
|
blob
|
history
diff --git
a/fs/ubifs/ubifs.h
b/fs/ubifs/ubifs.h
index 1d894652059acf80a793fb02259e5bdf7ce7b709..b4ce706a8e6af65bc48c23dadb4d688480576094 100644
(file)
--- a/
fs/ubifs/ubifs.h
+++ b/
fs/ubifs/ubifs.h
@@
-618,9
+618,13
@@
static inline ino_t parent_ino(struct dentry *dentry)
#define UBIFS_VERSION 1
/* Normal UBIFS messages */
+#ifdef CONFIG_UBIFS_SILENCE_MSG
+#define ubifs_msg(c, fmt, ...)
+#else
#define ubifs_msg(c, fmt, ...) \
pr_notice("UBIFS (ubi%d:%d): " fmt "\n", \
(c)->vi.ubi_num, (c)->vi.vol_id, ##__VA_ARGS__)
+#endif
/* UBIFS error messages */
#ifndef __UBOOT__
#define ubifs_err(c, fmt, ...) \